From 18c5361940ae4ec1b5afefc95b46914184a61c41 Mon Sep 17 00:00:00 2001 From: "djm@kirby.fc.hp.com" Date: Fri, 2 Dec 2005 10:06:42 -0600 Subject: [PATCH] Fix pointer in vmx vmmu init code (by Anthony Xu and Kevin Tian) --- xen/arch/ia64/vmx/vmmu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xen/arch/ia64/vmx/vmmu.c b/xen/arch/ia64/vmx/vmmu.c index f6dc9c2fd8..01be4636b7 100644 --- a/xen/arch/ia64/vmx/vmmu.c +++ b/xen/arch/ia64/vmx/vmmu.c @@ -162,7 +162,7 @@ static thash_cb_t *init_domain_vhpt(struct vcpu *d) vhpt->ht = THASH_VHPT; vhpt->vcpu = d; vhpt->hash_func = machine_thash; - vs -= sizeof (vhpt_special); + vcur -= sizeof (vhpt_special); vs = vcur; /* Setup guest pta */ -- 2.30.2